<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="21 cake Api test">
        <meta name="author" content="Teddy Long">
        <!--ICON-->
        <link rel="icon" href="favicon.ico" type="image/x-icon" />
        <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
        <!--Title-->
        <title>21 Cake API Test Portal - Case List</title>
        <!--BootStrap Component-->
        <link href="css/bootstrap.min.css" rel="stylesheet">
        <link href="css/bootstrap-theme.min.css" rel="stylesheet">
        <link href="css/bootstrap-table.min.css" rel="stylesheet" >
        <link href="css/font-awesome.css" rel="stylesheet">
        <link href="css/ionicons.css" rel="stylesheet">
        <link href="css/theme.css" rel="stylesheet" >
    </head>

    <body role="document">
        <nav class="navbar navbar-inverse navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand" href="index.php">21 Cake</a>
                </div>
                <div id="navbar" class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li><a href="index.php">Home</a></li>
                        <li><a href="Manage.php">Manage Page</a></li>
                    </ul>
                </div>
            </div>
        </nav>
        <div class="container" role="main">
            <!--Case Label-->
            <div>
                <div class="info-box">
                    <span class="info-box-icon"><span style="margin-top:11px;" class="ion ion-ios-pricetag-outline"></span></span>
                    <div class="info-box-content">
                        <span class="info-box-text">JobID:<span id="JobIDLabel"></span></span>
                    </div>
                </div>
            </div>
            <!--Case List-->
            <div class="row">
                <div class="col-sm-12">
                    <table id="CaseTable" style="white-space: pre;"
                           data-sort-name="id"
                           data-sort-order="desc"
                           data-search="true"
                           data-show-columns="true"
                           data-detail-view="true"
                           data-detail-formatter="detailFormatter"
                           data-pagination="true"
                           data-row-style="rowStyle">
                        <thead>
                        <tr>
                            <th data-sortable="true" data-halign="center" data-align="center" data-field = "id">CaseID</th>
                            <th data-halign="center" data-align="center" data-field= "label">Name</th>
                            <th data-sortable="true" data-halign="center" data-align="center" data-field= "status">Status</th>
                            <th data-sortable="true" data-halign="center" data-align="center" data-field= "rc">Code</th>
                            <th data-sortable="true" data-halign="center" data-align="center" data-field= "datetime">Start Time</th>
                            <th data-sortable="true" data-halign="center" data-align="center" data-field= "latency">Latency</th>
                            <th data-sortable="true" data-halign="center" data-align="center" data-field= "url">URL</th>
                            <th data-visible="false" data-sortable="true" data-halign="center" data-align="center" data-field= "header">header</th>
                            <th data-visible="false" data-sortable="true" data-halign="center" data-align="center" data-field= "body">body</th>
                        </tr>
                        </thead>
                    </table>
                </div>

                <div class="col-sm-12">
                    <br/>
                    <div id="averageChart" style="width: 95%; height: 600px;"></div>
                </div>

                <div class="col-sm-12">
                    <br/>
                    <div id="columnChart" style="width: 90%; height: 800px"></div>
                </div>

            </div>
        </div>
        <!--JS LOAD-->
        <script src="js/jquery.min.js"></script>
        <script data-pace-options='{ "document": true }' src="js/pace.min.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <script src="js/bootstrap-table.min.js"></script>
        <script src="js/highcharts.js"></script>
        <script src="js/data.js"></script>
        <script src="js/Case.js"></script>
    </body>
</html>